package com.lukebang.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpSession;
import com.lukebang.pojo.MeasureIndent;

/**
 * 
 * IMeasureIndentService 上午11:17:12
 * 
 * Copyright zhaocj Inc. All rights reserved. Love ME Like Justin Bieber.
 */
public interface IMeasureIndentService{

	public String payMoneyForAlipay(HttpServletRequest request, Double addPrice, Integer indentId, Integer relievedBao,
			Integer type, Integer motorNum, Double money);

	public MeasureIndent selectByPrimaryKey(Object indentID);

	public Map<String, Object> selectMeasureIndentByMerchant(HttpSession session, String customerName,
			String customerPhone, String indentID, String subscribeTimeBegin, String subscribeTimeEnd,
			String beginTimeBegin, String beginTimeEnd, Integer indentStatus, Integer offset, Integer limit,
			String sort, String order);

	public Integer insertMeasureIndent(HttpServletRequest request, String phone, String name, Integer roomNumber,
			String address, String province, String city, String country, String subscribeTime, String remark,
			HttpSession session);

	public boolean modifyForPayMeasureIndent(HttpServletRequest request, Integer indentID, Double addPrice,
			Integer relievedBao, HttpSession session);

	public Map<String, Object> toInstallIndent(HttpServletRequest request, HttpSession session, Integer mesureIndentId);
//
//	Map<String, Object> quitIndent(HttpServletRequest request, HttpSession session, Integer type,
//			Integer mesureIndentId);

}
